<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// register.html
// +----------------------------------------------------------------------

Route::group('admin',function(){
	Route::rule('/','admin/index/login','get|post');
	Route::rule('upload','admin/upload/index','get|post');
	Route::rule('uploads','admin/upload/upload','get|post');
	Route::rule('uploadDel','admin/upload/uploadDel','post');
	Route::rule('index','admin/home/index','get');
	Route::rule('loginout','admin/home/loginout','post');
	Route::rule('softwarelist','admin/software/softwarelist','get');
	Route::rule('softwareadd','admin/software/softwareadd','get|post');	
	Route::rule('softwareedit/[:id]','admin/software/softwareedit','get|post');
	Route::rule('softwaredel','admin/software/softwaredel','post');
	Route::rule('cardtypelist','admin/cardtype/cardtypelist','get');
	Route::rule('cardtypeadd','admin/cardtype/cardtypeadd','get|post');
	Route::rule('cardtypeedit/[:id]','admin/cardtype/cardtypeedit','get|post');
	Route::rule('cardtypedel','admin/cardtype/cardtypedel','post');
	Route::rule('cardlist','admin/card/cardlist','get|post');
	Route::rule('cardadd','admin/card/cardadd','get|post');
	Route::rule('carddle','admin/card/carddel','post');
	Route::rule('cardExcel','admin/card/cardExcel','post|get');

});
Route::rule('/', 'index/index/index', 'get');
Route::rule('cardvalidation', 'index/index/cardvalidation', 'get|post');
Route::rule('hufengvalidation', 'index/index/hufengvalidation', 'get|post');
Route::rule('xdycyz', 'index/index/xdycyz', 'post');

Route::rule('xhxyz', 'index/index/xhxyz', 'post');